package com.edu.service;

import com.edu.vo.Result;

import javax.servlet.http.HttpServletRequest;

/**
 * 支付
 */
public interface IPayService {

    //支付；得到支付二维码返回页面
    public Result pay(String orderId);

    //获取订单状态
    public Result status(String orderId)throws Exception;

    //关闭订单
    public Result close(String orderId)throws Exception;

    //微信支付回调信息接收
    public String notify(HttpServletRequest request);
}
